//
//  TCollectionViewControllelr.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/4/8.
//  Copyright © 2019 李文强. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TCollectionViewCell.h"
#import "TeachTopSelectedView.h"
#import "CJYearMonthSelectedView.h"
#import "CJClassSelectedView.h"
#import "KeChengWeiShangKeShiModel.h"
#import "KeChengYiShangKeShiModel.h"

@protocol TCVCDelegate <NSObject>



@optional
- (void)collectionViewCellClick:(NSIndexPath *)index;

@end
//typedef NS_ENUM(NSInteger, ControllViewType)
//{
//    TypeCourse = 0,
//    TypeWork = 1,
//    TypeTest = 2,
//    TypeClass = 3,
//};
NS_ASSUME_NONNULL_BEGIN

/**
 教学-课程
 */
@interface TCollectionViewControllelr : UICollectionViewController
@property (nonatomic, assign) id<TCVCDelegate>mDelegate;
@property (nonatomic, strong) TeachTopSelectedView *topSelectView;
@property (nonatomic, strong) UILabel *noDataLabel;

- (void)getDataForView:(NSString *)name;
//- (instancetype)initWithCollectionViewLayout:(UICollectionViewLayout *)layout andControllViewType:(ControllViewType)type;
@end

NS_ASSUME_NONNULL_END
